.home-container {
  height: 100%;
  min-height: 100vh;
  background: linear-gradient(135deg, #f5f5f7 0%, #ffffff 100%);
  position: relative;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: #1d1d1f;
  overflow: hidden;
}

.el-header {
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  justify-content: space-between;
  padding: 0 32px;
  align-items: center;
  color: #1d1d1f;
  font-size: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  height: 64px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  > div {
    display: flex;
    align-items: center;
    
    img {
      width: 36px;
      height: 36px;
      object-fit: contain;
      transition: transform 0.3s ease;

      &:hover {
        transform: scale(1.1);
      }
    }

    span {
      margin-left: 16px;
      font-weight: 600;
      letter-spacing: -0.02em;
      color: #1d1d1f;
      font-size: 18px;
    }
  }

  .el-button {
    background: linear-gradient(135deg, #0066cc 0%, #0077ed 100%);
    border: none;
    color: white;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;

    &:hover {
      transform: translateY(-1px);
      box-shadow: 0 4px 12px rgba(0, 102, 204, 0.2);
    }

    &:active {
      transform: translateY(1px);
    }
  }
}

.el-aside {
  background: rgba(255, 255, 255, 0.95);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 4px 0 12px rgba(0, 0, 0, 0.05);
  border-right: none;
  overflow-x: hidden;

  .el-menu {
    border-right: none;
    background-color: transparent;
    padding: 16px 8px;

    .el-sub-menu {
      .el-sub-menu__title {
        font-weight: 500;
        color: #1d1d1f;
        height: 48px;
        line-height: 48px;
        margin: 4px 0;
        padding: 0 20px;
        border-radius: 8px;
        transition: all 0.3s ease;
        
        &:hover {
          background: linear-gradient(135deg, rgba(0, 102, 204, 0.08) 0%, rgba(0, 119, 237, 0.08) 100%);
          transform: translateX(2px);
        }
      }
    }

    .el-menu-item {
      margin: 4px 8px;
      border-radius: 8px;
      color: #1d1d1f;
      height: 40px;
      line-height: 40px;
      transition: all 0.3s ease;
      font-size: 14px;
      
      &:hover {
        background: linear-gradient(135deg, rgba(0, 102, 204, 0.08) 0%, rgba(0, 119, 237, 0.08) 100%);
        transform: translateX(4px);
      }

      &.is-active {
        background: linear-gradient(135deg, #0066cc 0%, #0077ed 100%);
        color: white;
        font-weight: 500;
        box-shadow: 0 4px 12px rgba(0, 102, 204, 0.2);
      }
    }
  }
}

.el-main {
  background-color: rgba(255, 255, 255, 0.95);
  padding: 32px;
  border-radius: 16px;
  margin: 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: none;

  &:hover {
    // transform: translateY(-2px);  #不能增加这一句,要不然屏幕中的dialog会闪烁
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  }
}

.menu-icon {
  width: 20px;
  height: 20px;
  margin-right: 12px;
  vertical-align: middle;
  opacity: 0.9;
  transition: all 0.3s ease;
  filter: brightness(1);

  .is-active & {
    filter: brightness(2);
  }
}

.toggle-button {
  background: linear-gradient(135deg, rgba(0, 102, 204, 0.08) 0%, rgba(0, 119, 237, 0.08) 100%);
  font-size: 14px;
  line-height: 32px;
  color: #0066cc;
  text-align: center;
  cursor: pointer;
  margin: 12px;
  border-radius: 8px;
  transition: all 0.3s ease;
  border: none;

  &:hover {
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.12) 0%, rgba(0, 119, 237, 0.12) 100%);
    transform: translateX(2px);
  }
}
